package log2story;


public class Event {
	private String AgentName;
	private long time;
	private int idAction;
	private String place;
	private String action; 
	private String parameter;
	private boolean hasParameter;
	
	private int interest;
	private boolean stay;
	
	
	public Event() {
		super();
	}
	public Event(String agentName, long time, int idAction, String place,
			String action, String parameter) {
		super();
		AgentName = agentName;
		this.time = time;
		this.idAction = idAction;
		this.place = place;
		this.action = action;
		this.parameter = parameter;
		hasParameter = (parameter != "");
		this.interest = 0;
		this.stay = false;
	}
	public String getAgentName() {
		return AgentName;
	}
	public void setAgentName(String agentName) {
		AgentName = agentName;
	}
	public long getTime() {
		return time;
	}
	public void setTime(long time) {
		this.time = time;
	}
	public int getIdAction() {
		return idAction;
	}
	public void setIdAction(int idAction) {
		this.idAction = idAction;
	}
	public String getPlace() {
		return place;
	}
	public void setPlace(String place) {
		this.place = place;
	}
	public String getAction() {
		return action;
	}
	public void setAction(String action) {
		this.action = action;
	}
	public String getParameter() {
		return parameter;
	}
	public void setParameter(String parameter) {
		this.parameter = parameter;
		hasParameter = true;
	}
	public boolean hasParameter() {
		return hasParameter;
	}

	public int getInterest() {
		return interest;
	}
	public void setInterest(int interest) {
		this.interest = interest;
	}
	public boolean canStay() {
		return stay;
	}
	public void setStay(boolean stay) {
		this.stay = stay;
	}
	
	
	

}
